#include <myheader.h>

/* Usage:  */
int main(int argc, char *argv[]){                                  
    ARGS_CHECK(argc,2);
    int fd=open(argv[1],O_RDWR);
    ERROR_CHECK(fd,-1,"open");
        
    char buf[100]={0};

    ssize_t sret=read(fd,buf,sizeof(buf));
    printf("%s\r\n",buf);
    printf("%ld\r\n",sret);
    
    return 0;
}

